#include <REGX52.H>
#include <INTRINS.H>
#include "Delay.H"
#include "Nixie.H"
#include "Key.H"
#include "Buzzer.H"




unsigned char Keynum;
void main()
{
	Nixie(1,0);// 初始化数码管显示
	while(1)
	{
		Keynum=Key();//调用单排按键
		if(Keynum)
		{
			Buzzer_Time(200);
			Nixie(1,Keynum);//数码管显示
				
		}
	}			
		
}
